﻿
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.ComponentModel.DataAnnotations;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_Type))] 
    public class YH_TypeDto : Dto
    {
        /// <summary>
        /// 隐患类别
        /// </summary>
        [StringLength(20)]
        public String Type { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
    }
}
